using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.WebApiRead.DTO
{
    /// <summary>
    /// 盘点信息查询参数DTO
    /// </summary>
    public class InventoryQueryDTO
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 盘点单号（盘点编号）
        /// </summary>
        public string? InventoryCode { get; set; }

        /// <summary>
        /// 盘点状态（字符串类型）
        /// </summary>
        public string? DataStatus { get; set; }

        /// <summary>
        /// 盘点开始时间（开始时间范围查询）
        /// </summary>
        public DateTime? InventoryStartDateTime { get; set; }

        /// <summary>
        /// 盘点结束时间（结束时间范围查询）
        /// </summary>
        public DateTime? InventoryEndDateTime { get; set; }

        /// <summary>
        /// 制单人（创建人）
        /// </summary>
        public string? CreateName { get; set; }

        /// <summary>
        /// 部门ID（库管部门ID）
        /// </summary>
        public int? WarehouseDeptId { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int? WarehouseId { get; set; }

        /// <summary>
        /// 仓库名称（模糊查询）
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 经办人名称（模糊查询）
        /// </summary>
        public string? HandlerName { get; set; }
    }
}

